package com.kx.kxblog.entity.vo;

import com.kx.kxblog.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@Data
@ApiModel(value = "UserLoginVO", description = "用户登录对象")
public class UserLoginVO {
    @Size(min = 4, max = 32)
    @ApiModelProperty(value = "用户名", required = true)
    private String user;

    @Size(min = 6, max = 16)
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}
